<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style>
	.d1{
		width:700px;
		height:200px;
		background-color:#000;
		float:left;
		margin-bottom:10px;
	}
	.d2{
		width:190px;
		height:200px;
		background-color:#096;
		float:left;
		margin-bottom:20px;
		margin-right:10px;
	}
	.d3{
		width:200px;
		height:200px;
		background-color:#F36;
		float:left;
		margin-bottom:20px;
	}
	.d5{
		width:290px;
		height:200px;
		background-color:#30C;
		margin-bottom:10px;
		float:left;
		margin-right:10px;
	}
	.d4{
		width:700px;
		height:200px;
		background-color:#9F6;
		clear:both;
	}
	.father{
		margin:0 auto;
		width:700px;
	}
</style>
</head>

<body>
<div class="father">
	<div class="d1">我不动</div>
	<div class="d2">我向右浮动</div>
    <div class="d5">123</div>
	<div class="d3">我向左浮动</div>
	<div class="d4">底部</div>
</div>    
</body>
</html>
